<template>
  <div class="carg-wrapper">
    <!--      标题-->
    <div class="title">待派送 {{ currentDay }}</div>
    <el-alert :closable="false" type="success">扫描销售票据可快速确认</el-alert>
    <!--      车辆-->
    <waitToGom ref="waitRef" />
  </div>
</template>
<script>
// 待配送列表
import waitToGom from "@/views/deliver/pc/waitToGom.vue";
import tool from "@/utils/tool";
export default {
  name: "waitToGo",
  components: { waitToGom},
  data () {
    return {
      currentDay: tool.getDay()
    }
  },
  methods: {
    getList () {
      this.$refs.waitRef.getList()
    }
  }
}
</script>
<style scoped lang="scss">
.title {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  background-color: #01aaee;
  color: white;
  height: 40px;
  line-height: 40px;
}
</style>
